.TH std::flat_set::swap 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::flat_set::swap \- std::flat_set::swap

.SH Synopsis
   void swap( flat_set& other ) noexcept;  (since C++23)

   Exchanges the contents of the container adaptor with those of other. Effectively
   calls

 ranges::swap(compare, other.compare);
 ranges::swap(c, other.c);

.SH Parameters

   other - container adaptor to exchange the contents with

.SH Return value

   \fI(none)\fP

.SH Exceptions

   \fI(none)\fP

.SH Complexity

   Same as underlying container (typically constant).

.SH Example

    This section is incomplete
    Reason: no example

.SH See also

   std::swap(std::flat_set) specializes the std::swap algorithm
   (C++23)                  \fI(function template)\fP

.SH Category:
     * Todo no example
